Component({
    properties: {
        heading: {
            type: String,
            value: 'Default Heading',
        }
    },
    data: {
        counter: 0
    },
    methods: {
        add() {
            this.setData({
                counter: this.data.counter + 1
            })
        },
        inc() {
            this.setData({
                counter: this.data.counter - 1
            })
        }
    }
})